package com.atguigu.hosp.client.impl;

import com.atguigu.hosp.client.HospitalFeignClient;
import com.atguigu.yygh.common.result.Result;
import com.atguigu.yygh.model.vo.hosp.ScheduleOrderVo;
import com.atguigu.yygh.model.vo.order.SignInfoVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class HospitalFeignClientImpl implements HospitalFeignClient {

    private static final Logger log = LoggerFactory.getLogger(HospitalFeignClientImpl.class);

    @Override
    public ScheduleOrderVo getScheduleOrderVo(String scheduleId) {
        log.info("调用{}失败", "getScheduleOrderVo");
        Result<Object> result = new Result<>();
        result.setMessage("调用getScheduleOrderVo接口失败");
        return new ScheduleOrderVo();
    }

    @Override
    public SignInfoVo getSignInfoVo(String hoscode) {
        log.info("调用{}失败", "getSignInfoVo");
        Result<Object> result = new Result<>();
        result.setMessage("调用getSignInfoVo接口失败");
        return new SignInfoVo();
    }
}
